/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nsip.model;

/**
 *
 * @author nico.rehwaldt
 */
public class Metadata {

    private ProductPriceInfo priceInfo;
    private double averageSupplyRawPrice;
    private ProductInfo info;
    
    public Metadata() {}

    /**
     * @return the info
     */
    public ProductPriceInfo getPriceInfo() {
        return priceInfo;
    }

    /**
     * @param priceInfo the info to set
     */
    public void setPriceInfo(ProductPriceInfo priceInfo) {
        this.priceInfo = priceInfo;
    }

    /**
     * @return the averageSupplyRawPrice
     */
    public double getAverageSupplyRawPricePerUnit() {
        return info.getPartsPrice();
        //return averageSupplyRawPrice;
    }

    /**
     * @param averageSupplyRawPrice the averageSupplyRawPrice to set
     */
    public void setAverageSupplyRawPricePerUnit(double averageSupplyRawPrice) {
        this.averageSupplyRawPrice = averageSupplyRawPrice;
    }

    /**
     * @return the info
     */
    public ProductInfo getInfo() {
        return info;
    }

    /**
     * @param info the info to set
     */
    public void setInfo(ProductInfo info) {
        this.info = info;
    }
}
